{@
	$ds_nick = $ci['nick_name']->display == 'Y';
	$ds_user =	$ci['user_name']->display == 'Y';
	$ds_regdate = $ci['regdate']->display == 'Y';
	$ds_update = $ci['last_update']->display == 'Y';
	$ds_cstus = $ci['custom_status']->display == 'Y'?1:0;

	$notice_list = $oThis->getNoticeList();
	$best_list = $mi->use_best=='Y'?$oThis->getBestList():array();
	$a_lsttp = array('notice'=>&$notice_list,'best'=>&$best_list);
}

<ul loop="$a_lsttp => $tlk,$p_list" cond="count($p_list)" class="lt">
	<li loop="$p_list => $no,$document">
	{@
		$is_blind = ($tlk!='notice'&&$mi->use_blind=='Y')?$oThis->isBlind($document->document_srl):0;
		$un_extra = ($is_rtrpt||$ao_ppang||$ds_mtlng)?$document->get('extra_vars'):null;
		$un_extra = is_string($un_extra)?unserialize($un_extra):$un_extra;
	}
		<a href="{$oEntry->getUrl('','mid',$mid,'document_srl',$document->document_srl,'sort_index',$sort_index,'order_type',$order_type,'search_target',$search_target,'search_keyword',$search_keyword,'page',$spage)}">
			<span class="title"><span cond="$tlk" class="{$tlk}">{$tlk=='best'?'Best':$lang->notice}</span>
				<span cond="!$tlk&&$is_cts && $document->get('category_srl')">[{$cts[$document->get('category_srl')]->title}]</span>
				<strong>{$is_blind?$lang->msg_is_blind:$document->getTitle($mi->title_length)}</strong>
				{@
					$t_cmtn = $document->getCommentCount();
					$t_tbkn = $document->getTrackbackCount();
				}
				<em cond="$t_cmtn">+{$t_cmtn}</em><em cond="$t_tbkn">.{$t_tbkn}</em>
				{$document->printExtraImages(60*60*$mi->duration_new)}<img class="scIcoSet world" src="../img/common/blank.gif" alt="multilingual" title="multilingual" cond="$ds_mtlng&&count($un_extra->beluxe->langs)" />
			</span>
			<span class="auth">
				<span cond="!$tlk&&$is_rtrpt" class="usept">{$un_extra->beluxe?abs((int)$un_extra->beluxe->use_point):'0'}</span>
				<span cond="$ds_cstus">{$tlk&&$tlk=='notice'?$lang->notice:$cstus[(int)$document->get('is_notice')]}:</span>
				<span cond="$ds_nick||$ds_user" class="fsi"|cond="!$document->get('member_srl')">{cut_str((!$document->get('member_srl')||$ds_nick)?$document->getNickName():$document->getUserName(), $mi->nickname_length)}</span>
				<span class="time">{!$ds_regdate&&$ds_update ? zdate($document->get('last_update')) : $document->getRegDate("Y.m.d")}</span>
			</span>
		</a>
	</li>
</ul>

<ul class="lt gall">
	<li loop="$document_list => $no,$document" class="doc">
	{@
		$is_grant = $grant->view && (!$document->isSecret() || $document->isGranted());
		$is_blind = $mi->use_blind=='Y'?$oThis->isBlind($document->document_srl):0;
		$un_extra = ($is_rtrpt||$ao_ppang||$ds_mtlng)?$document->get('extra_vars'):null;
		$un_extra = is_string($un_extra)?unserialize($un_extra):$un_extra;
		$is_thum = $lsttp != 'guest'&&$document->thumbnailExists($mi->thumbnail_width, $mi->thumbnail_height, $mi->thumbnail_type);
	}
		<a href="{$oEntry->getUrl('','mid',$mid,'document_srl',$document->document_srl,'sort_index',$sort_index,'order_type',$order_type,'search_target',$search_target,'search_keyword',$search_keyword,'page',$spage)}">
			<span cond="$lsttp == 'guest'" class="fl thum">
				{@
					$pft = explode('.', $document->get('title'));
					$pft = (int) substr($pft[1],1,1);
				}
				<!--@if(!$pft)-->
					<img src="../img/common/profile.gif" cond="!$document->getProfileImage()" alt="Profile" class="profile" />
					<img src="{$document->getProfileImage()}" cond="$document->getProfileImage()" alt="Profile" class="profile" />
				<!--@else-->
					<img src="../img/profile/p{$pft}.gif" alt="Profile" class="profile" />
				<!--@endif-->
			</span>
			<span cond="$is_thum" class="fl thum">
				<!--@if($is_blind || !$is_grant)-->
					<img src="../img/common/thum_{$is_blind?'blind':'secret'}.png" alt="{$is_blind?'blind':'secret'}" title="{$is_blind?'blind':'secret'}" height="{$mi->thumbnail_height}" width="{$mi->thumbnail_width}"/>
				<!--@else-->
					<img src="{$document->getThumbnail($mi->thumbnail_width, $mi->thumbnail_height, $mi->thumbnail_type)}" border="0" alt=""/>
				<!--@endif-->
			</span>
			<ul class="ifo" style="margin-left:90px;"|cond="$lsttp == 'guest'" style="margin-left:{(int)$mi->thumbnail_width+13}px;"|cond="$is_thum">
				<li>
					<span class="title">
						<span cond="$is_cts && $document->get('category_srl')">[{$cts[$document->get('category_srl')]->title}]</span>
						<strong cond="$lsttp != 'guest'">{$is_blind?$lang->msg_is_blind:$document->getTitle($mi->title_length)}</strong>
						{@
							$t_cmtn = $document->getCommentCount();
							$t_tbkn = $document->getTrackbackCount();
						}
						<em cond="$t_cmtn">+{$t_cmtn}</em><em cond="$t_tbkn">.{$t_tbkn}</em>
						{$document->printExtraImages(60*60*$mi->duration_new)}<img class="scIcoSet world" src="../img/common/blank.gif" alt="multilingual" title="multilingual" cond="$ds_mtlng&&count($un_extra->beluxe->langs)" />
					</span>
				</li>
				<li>
					<span class="auth">
						<span cond="!$tlk&&$is_rtrpt" class="usept">{$un_extra->beluxe?abs((int)$un_extra->beluxe->use_point):'0'}</span>
						<span cond="$ds_cstus">{$tlk&&$tlk=='notice'?$lang->notice:$cstus[(int)$document->get('is_notice')]}:</span>
						<span cond="$ds_nick||$ds_user" class="fsi"|cond="!$document->get('member_srl')">{cut_str((!$document->get('member_srl')||$ds_nick)?$document->getNickName():$document->getUserName(), $mi->nickname_length)}</span>
					</span>
				</li>
				<li><span class="time">{!$ds_regdate&&$ds_update ? zdate($document->get('last_update')) : $document->getRegDate("Y.m.d H:i")}</span></li>
				<li><span class="summary">{$is_blind?$lang->msg_is_blind:$document->getSummary(150)}</span></li>
			</ul>
		</a>
	</li>
</ul>